import { Layout } from '@fl/utils/routerHelper'

const housingFair: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/housing-fair/reservation-information/list.vue'),
            meta: {
                title: '预约信息查询',
            },
            name: 'reservation-information-list',
            path: 'reservation-information-list',
        },
        {
            component: () => import('@/pages/housing-fair/reservation-information/detail.vue'),
            meta: {
                activeMenu: '/house-source-centerreservation-information-list',
                hidden: true,
                title: '预约信息详情',
            },
            name: 'reservation-information-detail',
            path: 'reservation-information-detail',
        },
        {
            component: () => import('@/pages/housing-fair/user-management/index.vue'),
            meta: {
                title: '房交会用户管理',
            },
            name: 'user-management',
            path: 'user-management',
        },
        {
            component: () => import('@/pages/housing-fair/user-management/component/add-org.vue'),
            meta: {
                activeMenu: '/house-source-center/fair/user-management',
                hidden: true,
                noTagsView: true,
                title: '添加企业',
            },
            name: 'user-management-add',
            path: 'user-management-add',
        },
        {
            component: () => import('@/pages/housing-fair/user-management/component/add-org.vue'),
            meta: {
                activeMenu: '/house-source-center/fair/user-management',
                hidden: true,
                noTagsView: true,
                title: '编辑企业',
            },
            name: 'user-management-edit',
            path: 'user-management-edit',
        },
        {
            component: () => import('@/pages/housing-fair/video-management/index.vue'),
            meta: {
                title: '视频管理',
            },
            name: 'video-management',
            path: 'video-management',
        },
        {
            component: () => import('@/pages/housing-fair/policy-message/index.vue'),
            meta: {
                title: '政策与资讯',
            },
            name: 'policy-message',
            path: 'policy-message',
        },
        {
            component: () => import('@/pages/housing-fair/report-statistics/index.vue'),
            meta: {
                title: '房交会报表统计',
            },
            name: 'report-statistics',
            path: 'report-statistics',
        },
        {
            component: () => import('@/pages/housing-fair/coupon-statistics/index.vue'),
            meta: {
                title: '项目优惠券统计',
            },
            name: 'housing-fair-coupon-statistics',
            path: 'coupon-statistics',
        },
        // {
        //     component: () => import('@/pages/housing-fair/daily-statistics/index.vue'),
        //     meta: {
        //         title: '每日优惠券统计',
        //     },
        //     name: 'daily-statistics',
        //     path: 'daily-statistics',
        // },
        {
            component: () => import('@/pages/housing-fair/housing-act-detail/index.vue'),
            meta: {
                title: '房交会活动明细',
            },
            name: 'housing-fair-housing-act-detail',
            path: 'housing-act-detail',
        },
            
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-teenyicons:house-outline',
        title: '房交会',
    },
    name: 'housing-fair',
    path: 'fair',
}

export default housingFair
